<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>新增会员等级</h2>
    </div>
    <form action="{:U('')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">等级名称<span class="check-tips"></span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="rankname" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">积分下限<span class="check-tips">积分下限</span></label>
            <div class="controls">
                <input type="text" class="text input-large" name="minpoint" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">积分上限</label>
            <div class="controls">
                <input type="text" class="text input-large" name="maxpoint" value="">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">显示商品价格<span class="check-tips">（在商品详情页显示该会员等级的商品价格）</span></label>
            <div class="controls">
                <label class="radio"><input type="radio" class="" name="isshow" value="1" checked="checked">&nbsp;是</label> 
                <label class="radio"><input type="radio" class="" name="isshow" value="0" >&nbsp;否</label>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">特殊会员组<span class="check-tips">（特殊会员组的会员不会随着积分的变化而变化。）</span></label>
            <div class="controls">
               <label class="radio"><input type="radio" class="" name="isspecial" value="1">&nbsp;是</label> 
                <label class="radio"><input type="radio" class="" name="isspecial" value="0" checked="checked">&nbsp;否</label>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">初始折扣率<span class="check-tips">（请填写为0-100的整数,如填入80，表示初始折扣率为8折）</span></label>
            <div class="controls">
                <input type="text" class="text" name="discount" value="">%
            </div>
        </div>
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('User/index')}');
    </script>
</block>
